<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>

<ul id="roleauthtree"></ul>

<script type="text/javascript">
$(function(){
    var $roleauthtree = $('#roleauthtree');
    $roleauthtree.tree({
        data: eval('${resources}'),
        lines: true,
        checkbox: true,
        cascadeCheck: false,
        formatter: function(node) {
            return node.name
        }
    });
})
</script>
